package edu.com.wjt219971332.service;

import edu.com.wjt219971332.entity.Matchup;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;


public interface MatchupService {


    Matchup queryById(Integer matchupid);


    Page<Matchup> queryByPage(Matchup matchup, PageRequest pageRequest);


    int insert(Matchup matchup);


    int update(Matchup matchup);


    boolean deleteById(Integer matchupid);

    List<Matchup> queryByusername(String name);
}
